<div name="createlocation" id="createlocation" align="center">
Type:
<select name="gen_location_locationsubject" id="gen_location_locationsubject">
  <option value="">Select</option>
  {foreach from=$lookup_locationsubject item=l_locationsubject}
  <option value="{$l_locationsubject.lookupkey}">{$l_locationsubject.shortname}</option>
  {/foreach}
</select></ br>
Region:
<select name="gen_location_locationregion" id="gen_location_locationregion">
  <option value="">Select</option>
  {foreach from=$lookup_locationregion item=l_locationregion}
  <option value="{$l_locationregion.lookupkey}">{$l_locationregion.shortname}</option>
  {/foreach}
</select></ br>
Prefecture:
<select name="gen_location_locationprefecture" id="gen_location_locationprefecture">
  <option value="">Select</option>
  {foreach from=$lookup_locationprefecture item=l_locationprefecture}
  <option value="{$l_locationprefecture.lookupkey}">{$l_locationprefecture.shortname}</option>
  {/foreach}
</select></ br>
Area:
<select name="gen_location_locationarea" id="gen_location_locationarea">
  <option value="">Select</option>
  {foreach from=$lookup_locationarea item=l_locationarea}
  <option value="{$l_locationarea.lookupkey}">{$l_locationarea.shortname}</option>
  {/foreach}
</select></ br>
City:
<select name="gen_location_locationcity" id="gen_location_locationcity">
  <option value="">Select</option>
  {foreach from=$lookup_locationcity item=l_locationcity}
  <option value="{$l_locationcity.lookupkey}">{$l_locationcity.shortname}</option>
  {/foreach}
</select></ br>
Details:
<input type="text" name="gen_location_locationdetail"></ br>
Train Station:
<select name="gen_location_trainstation" id="gen_location_trainstation">
  <option value="">Select</option>
  {foreach from=$lookup_trainstation item=l_trainstation}
  <option value="{$l_trainstation.lookupkey}">{$l_trainstation.shortname}</option>
  {/foreach}
</select></ br>
Train Line:
<select name="gen_location_trainline" id="gen_location_trainline">
  <option value="">Select</option>
  {foreach from=$lookup_trainline item=l_trainline}
  <option value="{$l_trainline.lookupkey}">{$l_trainline.shortname}</option>
  {/foreach}
</select></ br>